package org.cuatrovientos.empirefleet;

/**
 * 	Represents a generic space_ship
 * @author Sienar Fleet Systems
 * @greets the emperor
 */
public class SpaceShip {
	int bombs;
	int type;
	int speed;

	/**
	 * constructor
	 * @param t
	 */

	public static SpaceShip factory(int type, String name){
		switch(type){
		case 1:
			return new TieAdvanced(name);
			
		case 2:
			return new TieBomber(name);
			
		case 3:
			return new TieFighter(name);
			
		default:
			return null;
		}
		
	
	}

	/**
	 * only tie advanced and bombers
	 * fires ION cannon
	 * @return damage
	 */

	/**
	 * "I'm firing my laser"
	 * @return laser damage depending of type
	 */


	/**
	 * move, more or less depending on type
	 * @return positions
	 */
	
}
